package com.ehome.poct.base.dao.device.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 设备参数修改记录表
 */
@Data
@TableName(value = "test_blood_device_param_record")
public class TestBloodDeviceParamRecordDO extends Model<TestBloodDeviceParamRecordDO> {
    /**
     * 主键ID
     */
    @TableId(value = "record_id")
    private Long recordId;

    /**
     * 设备的参数
     */
    @TableField(value = "device_param_data")
    private String deviceParamData;

    /**
     * 设备编号
     */
    @TableField(value = "device_sno")
    private String deviceSno;

    /**
     * 记录的sha
     */
    @TableField(value = "device_sha")
    private String deviceSha;

    /**
     * 操作者
     */
    @TableField(value = "operator")
    private String operator;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private LocalDateTime updateTime;
    
//    public TestBloodDeviceParamRecordDO(String deviceParamData, String deviceSno, String deviceSha, LocalDateTime updateTime, String operator) {
//        this.deviceParamData = deviceParamData;
//        this.deviceSno = deviceSno;
//        this.deviceSha = deviceSha;
//        this.updateTime = updateTime;
//        this.operator = operator;
//    }
}